Add back changes lost from xen-ia64 cset 10570:8dc4af3f192c
authorchris@kneesaa.uk.xensource.com <chris@kneesaa.uk.xensource.com>
Sat, 29 Jul 2006 12:06:41 +0000 (13:06 +0100)
committerchris@kneesaa.uk.xensource.com <chris@kneesaa.uk.xensource.com>
Sat, 29 Jul 2006 12:06:41 +0000 (13:06 +0100)
with the new qemu tree.

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
tools/ioemu/vl.c

index ca045a3c64f27185863d7ce32e36276f63ace9e0..d5f71c45ca766ab0e825d74c7614c7755ff2d5dc 100644 (file)
@@ -5792,7 +5792,7 @@ int main(int argc, char **argv)
     }
 
     if (xc_ia64_get_pfn_list(xc_handle, domid, page_array,
-                             nr_pages + (GFW_SIZE >> PAGE_SHIFT), 1)!= 1){
+                             IO_PAGE_START >> PAGE_SHIFT, 1) != 1){
         fprintf(logfile, "xc_ia64_get_pfn_list returned error %d\n", errno);
         exit(-1);
     }
@@ -5801,7 +5801,7 @@ int main(int argc, char **argv)
                                        PROT_READ|PROT_WRITE,
                                        page_array[0]);
 
-    fprintf(logfile, "shared page at pfn:%lx, mfn: %l016x\n",
+    fprintf(logfile, "shared page at pfn:%lx, mfn: %016lx\n",
             IO_PAGE_START >> PAGE_SHIFT, page_array[0]);
 #endif
 #else  /* !CONFIG_DM */